//
//  ShoppingCarCell.h
//  SDHuiYuShoping
//
//  Created by luojiao on 2017/5/4.
//  Copyright © 2017年 luojiao. All rights reserved.
//

#import <UIKit/UIKit.h>
@class  ShoppingCarCell;

@protocol ShoppingDelegate <NSObject>

- (void)chooseButton:(ShoppingCarCell *)cell;
- (void)subButtonClick:(ShoppingCarCell *)cell;
- (void)addButtonClick:(ShoppingCarCell *)cell;

@end

@interface ShoppingCarCell : UITableViewCell

@property(nonatomic,assign) id<ShoppingDelegate>delegate;

@property (weak, nonatomic) IBOutlet UIImageView *productBgImage;
@property (weak, nonatomic) IBOutlet UIImageView *productImage;
@property (weak, nonatomic) IBOutlet UIButton *choseButton;

@property (weak, nonatomic) IBOutlet UILabel *productDetail;
@property (weak, nonatomic) IBOutlet UILabel *productPrice;

@property (weak, nonatomic) IBOutlet UIButton *subButton;
@property (weak, nonatomic) IBOutlet UIButton *addButton;

@property (weak, nonatomic) IBOutlet UITextField *textField;
@property (weak, nonatomic) IBOutlet UIImageView *subAndAddBg;
@property (weak, nonatomic) IBOutlet UILabel *line;

@end
